package org.jimmy.tang.designpattern.behavior.visitor;

/**
 * @author jimmy
 * 
 */
public class StringElement implements Visitable {
    private String se;

    public StringElement(String se) {
        this.se = se;
    }

    public String getSe() {
        return se;
    }

    /* (non-Javadoc)
     * @see org.jimmy.tang.designpattern.behavior.visitor.Visitable#accept(org.jimmy.tang.designpattern.behavior.visitor.Visitor)
     */
    @Override
    public void accept(Visitor visitor) {
        visitor.visitString(this);

    }

}
